home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / whris200.zip / WHEREIS.TXT < prev   
Text File  |  1993-03-05  |  2KB  |  37 lines

  1. WHEREIS.EXE v2.00 (OS/2 32-bit) 08/26/92 by Justin B. Alcorn
  2.  
  3. Parameters:
  4.    {/E<envname> | /S<pathlist> | /D<drvletter> | /A } FileSpec {-f<CMDSTR> | -x<CMDSTR>}
  5.  
  6. Options are:
  7. /?: Display this help screen
  8. /E: Use <envname> environment variable to search for FileSpec 
  9. /S: Use <pathlist> to look for files
  10. /D: search all directories of Drive <drvletter>
  11. /A: Search all directories of all drives
  12.     Above Are mutually exclusive
  13. FileSpec: May be partially or fully qualified executable file name
  14.           May contain global filename characters
  15.           Default is start at root directory
  16.           FileSpec of .\*.c will start at current directory
  17. /F: Output CMDSTR (see /X) (may be redirected)
  18. /X: Do System Call of CMDSTR with filename
  19.     If CMDSTR contains "%1" path+filename will be substituted
  20.     If CMDSTR contains "%2" just filename will be substituted
  21. --MORE--            If CMDSTR contains "%s" filesize will be substituted
  22.     If CMDSTR contains "%d" Write Date will be substituted
  23.     If CMDSTR contains "%t" Write Time will be substituted
  24.        CMDSTR may contain "\t" which will insert tabs
  25.  
  26. EXAMPLE: /Sc:\;c:\os2 os2* will search the root directory of C:
  27.      and the os2 subdirectory for os2*.*
  28.       *.c -x"attrib +r %1" will set read-only attrib on all found files
  29.       *.c -f"%d %s \t%1" | sort > cdir will create file with
  30.          all C files in date sorted order
  31.  
  32. Released into the Public Domain - Please Distribute
  33. Any and all comments are welcome!
  34. I can be reached at INTERNET ag531@cleveland.freenet.edu
  35.  and FidoNet Justin Alcorn 1:157/200.63
  36. "Darn These Computers, They're so Naughty and Complicated!"
  37.